.buildProgress {
  padding: 24px 0;
}

.buildStatus {
  margin-top: 16px;
  text-align: center;
}

.statusText {
  font-size: 16px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.progressDetail {
  margin-top: 8px;
  color: #999;
  font-size: 14px;
}

.successIcon {
  font-size: 18px;
  color: #52c41a;
  animation: bounceIn 0.5s;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.1);
  }
  80% {
    opacity: 1;
    transform: scale(0.89);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 进度条样式优化 */
:global(.ant-progress-line) {
  width: 100% !important;
  margin-bottom: 0 !important;
}

:global(.ant-progress-text) {
  color: #666 !important;
}

:global(.ant-progress-status-active .ant-progress-bg) {
  position: relative;
  overflow: hidden;
}

:global(.ant-progress-status-active .ant-progress-bg::before) {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.15) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: progressShine 1.5s ease-in-out infinite;
}

@keyframes progressShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
